package com.edu.mapper;

import com.edu.bean.User;

import java.util.List;

public interface UserMapper {
    List<User> selectAllUser();

    void addUser(User user);

    void deleteUser(int userId);

    User selectUserById(int userId);

    void updateUser(User user);

    User selectUserByNamePass(User user);

    User selectUserByName(String userName);

}
